package com.example.springbootjsp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName PageController
 * @Description PageController
 * @Author ZX
 * @Date 2020/5/26 13:43
 */
@Controller
public class PageController {
    /**
     * @Description: 页面跳转
     * @Param:
     * @return:
     */
    @GetMapping("/{page}")
    public String showPage(@PathVariable String page){
        return page;
    }
}

